import { PortfolioSharingStatus } from './portfolioSharingStatus.model'

export class PortfolioBaseModel {
    public id: string;
    public name: string;
    public addedByUserId: string;
    public isReadonly: boolean;
    public isSystemPortfolio: boolean;
}

export class RelatedUniverses {
    public id: string;
    public name: string;
}


export class PortfolioModel extends PortfolioBaseModel {
    public addedByUserName: string;
    public addedByFullName: string;
    public companyCount: number;
    public dateCreated: Date;
    public dateModified: Date;
    public sharingStatus: PortfolioSharingStatus;
    public isMyPortfolio: boolean;
    public hasSubscription: boolean;
    public details:string;
}

export class ManualSystemPortfolioDto extends PortfolioModel {
    public relatedUniverses: RelatedUniverses[];
}